/**
 * @Author: 袁十一
 * @Date: 2023-03-20 14:08:09
 * @LastEditTime: 2023-04-18 17:19:54
 * @LastEditors: 袁十一
 * @Description: 路由
 * @FilePath: \blog\src\router\index.js
 * @初心不变，意志坚定
 */
import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import AboutView from '../views/AboutView.vue'
import ImagesView from '../views/ImagesView.vue'
import LoginView from '../views/LoginView.vue'
import RegesiterView from '../views/RegesiterView.vue'

const routes = [
  {path:'/',component:HomeView},
  {path:'/ImagesView',component:ImagesView},
  {path:'/LoginView',component:LoginView},
  {path:'/RegesiterView',component:RegesiterView},
  {path:'/AboutView',component:AboutView},

]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
